﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="FrameWork.web.Module.ITMS.Upload.News._default" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
         HeadOPTxt="新闻管理列表" HeadTitleTxt="新闻管理 " ButtonList-Capacity="4">
        <FrameWorkWebControls:HeadMenuButtonItem ButtonPopedom="New" ButtonUrl="Manager.aspx?CMD=New"
            ButtonUrlType="Href" ButtonVisible="True" ButtonName="新闻管理 " />
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="新闻管理 列表">
            <asp:GridView ID="GridView1" runat="server">
                <Columns>                    
                    <asp:HyperLinkField HeaderText="自动ID" DataTextField="A_ID" DataNavigateUrlFields="A_ID"
                        DataNavigateUrlFormatString="Manager.aspx?IDX={0}&amp;CMD=List" />                    
                    
                    <asp:TemplateField HeaderText="所属分类" Visible="False">
                        <ItemTemplate>
                            <%#FrameWork.BusinessFacade.sys_FieldValueDisp(((int)Eval("A_Cat"))).V_Text %>
                        </ItemTemplate>
                    </asp:TemplateField>
                                       
                    <asp:BoundField HeaderText="标题" DataField="A_Title" />
                    <asp:BoundField HeaderText="子标题" DataField="A_TitleSub" />                                     
                    <asp:BoundField HeaderText="发布时间" DataField="A_DateTime" />
                </Columns>
            </asp:GridView>
            <FrameWorkWebControls:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
            </FrameWorkWebControls:AspNetPager>
        </FrameWorkWebControls:TabOptionItem>
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem2" runat="server" Tab_Name="查询">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">                
                <tr id="A_CatsNameSearch" runat="server">
                    <td class="table_body ">
                        <asp:Literal ID="A_CatsNameSearchTxt" runat="server"></asp:Literal></td>
                    <td class="table_none ">
                        <asp:DropDownList ID="A_Cat" runat="server">
                        <asp:ListItem Value="">不限</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>                
                <tr id="A_TitleSearch" runat="server">
                    <td class="table_body ">
                        <asp:Literal ID="A_TitleSearchTxt" runat="server"></asp:Literal></td>
                    <td class="table_none ">
                        <asp:TextBox ID="A_Title" Columns="40" title="请输入标题~255:" runat="server" CssClass="text_input"></asp:TextBox></td>
                </tr>                
                <tr id="A_TitleSubSearch" runat="server">
                    <td class="table_body ">
                        <asp:Literal ID="A_TitleSubSearchTxt" runat="server"></asp:Literal></td>
                    <td class="table_none ">
                        <asp:TextBox ID="A_TitleSub"  Columns="40" title="请输入子标题~255:" runat="server" CssClass="text_input"></asp:TextBox></td>
                </tr>                
                <tr id="A_PhotoSearch" runat="server">
                    <td class="table_body ">
                        <asp:Literal ID="A_PhotoSearchTxt" runat="server"></asp:Literal></td>
                    <td class="table_none ">
                        
                        <asp:DropDownList ID="A_Photo" runat="server">
                            <asp:ListItem Value="">不限</asp:ListItem>
                            <asp:ListItem Value="0">不带图片</asp:ListItem>
                            <asp:ListItem Value="1">带图片</asp:ListItem>
                        </asp:DropDownList>
                        </td>
                </tr>                
                <tr id="A_TxtSearch" runat="server">
                    <td class="table_body ">
                        <asp:Literal ID="A_TxtSearchTxt" runat="server"></asp:Literal></td>
                    <td class="table_none ">
                        <asp:TextBox ID="A_Txt" Columns="40" title="请输入内容~:" runat="server" CssClass="text_input"></asp:TextBox></td>
                </tr>                
                <tr id="A_DateTimeSearch" runat="server">
                    <td class="table_body ">
                        <asp:Literal ID="A_DateTimeSearchTxt" runat="server"></asp:Literal></td>
                    <td class="table_none ">
                    <asp:TextBox ID="S_E_DateTime" title="请输入开始日期~:date" onfocus="javascript:HS_setDate(this);" Columns="10" runat="server" CssClass="text_input"></asp:TextBox>~<asp:TextBox
                        ID="E_E_DateTime" title="请输入结束日期~:date" onfocus="javascript:HS_setDate(this);" Columns="10" runat="server" CssClass="text_input"></asp:TextBox></td>
                </tr>
                <tr>
                    <td colspan="4" align="right">
                        <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="查询" OnClick="Button1_Click" /></td>
                </tr>
            </table>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
</asp:Content>
